<?php
use think\facade\Route;


Route::group('/v1', function () {
    Route::get('/discuss', 'Home/getDiscuss');
    Route::get('/discuss/:id', 'Home/getDiscussDetail');
    Route::get('/search', 'Home/searchByTitle');
})->middleware(\app\middleware\Cross::class);